package org.redmaple.core.bean;

import java.io.Serializable;
import java.util.Map;

/**
 * 操作响应信息，当客户端发送操作请求信息后，会创建一个<code>ResponseResults</code>对象，里面存放操作的结果
 * 
 * @author Xiangyun
 *
 */
@SuppressWarnings("serial")
public class ResponseResults implements Serializable {
	/**
	 * 响应结果
	 */
	private boolean result;

	/**
	 * 响应标题
	 */
	private String title;

	/**
	 * 响应信息
	 */
	private String message;

	/**
	 * 响应回调
	 */
	private String callback;

	/**
	 * 响应回调参数
	 */
	private Map<String, Object> paramter;

	/**
	 * 响应后打开的URL
	 */
	private String url;

	public boolean setResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getCallback() {
		return callback;
	}

	public void setCallback(String callback) {
		this.callback = callback;
	}

	public Map<String, Object> getParamter() {
		return paramter;
	}

	public void setParamter(Map<String, Object> paramter) {
		this.paramter = paramter;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

}
